Integrand size = 17, antiderivative size = 63 \[ \int \frac {c+d x^2}{\left (a+b x^2\right )^2} \, dx=\frac {(b c-a d) x}{2 a b \left (a+b x^2\right )}+\frac {(b c+a d) \arctan \left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{3/2} b^{3/2}} \]
[Out]
Time = 0.01 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used = {393, 211} \[ \int \frac {c+d x^2}{\left (a+b x^2\right )^2} \, dx=\frac {\arctan \left (\frac {\sqrt {b} x}{\sqrt {a}}\right ) (a d+b c)}{2 a^{3/2} b^{3/2}}+\frac {x (b c-a d)}{2 a b \left (a+b x^2\right )} \]
[In]
[Out]
Rule 211
Rule 393
Rubi steps \begin{align*} \text {integral}& = \frac {(b c-a d) x}{2 a b \left (a+b x^2\right )}+\frac {(b c+a d) \int \frac {1}{a+b x^2} \, dx}{2 a b} \\ & = \frac {(b c-a d) x}{2 a b \left (a+b x^2\right )}+\frac {(b c+a d) \tan ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{3/2} b^{3/2}} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 63, normalized size of antiderivative = 1.00 \[ \int \frac {c+d x^2}{\left (a+b x^2\right )^2} \, dx=-\frac {(-b c+a d) x}{2 a b \left (a+b x^2\right )}+\frac {(b c+a d) \arctan \left (\frac {\sqrt {b} x}{\sqrt {a}}\right )}{2 a^{3/2} b^{3/2}} \]
[In]
[Out]
Time = 2.65 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.90
method | result | size |
default | \(-\frac {\left (a d -b c \right ) x}{2 a b \left (b \,x^{2}+a \right )}+\frac {\left (a d +b c \right ) \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 a b \sqrt {a b}}\) | \(57\) |
risch | \(-\frac {\left (a d -b c \right ) x}{2 a b \left (b \,x^{2}+a \right )}-\frac {\ln \left (b x +\sqrt {-a b}\right ) d}{4 \sqrt {-a b}\, b}-\frac {c \ln \left (b x +\sqrt {-a b}\right )}{4 \sqrt {-a b}\, a}+\frac {\ln \left (-b x +\sqrt {-a b}\right ) d}{4 \sqrt {-a b}\, b}+\frac {c \ln \left (-b x +\sqrt {-a b}\right )}{4 \sqrt {-a b}\, a}\) | \(122\) |
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 181, normalized size of antiderivative = 2.87 \[ \int \frac {c+d x^2}{\left (a+b x^2\right )^2} \, dx=\left [-\frac {{\left (a b c + a^{2} d + {\left (b^{2} c + a b d\right )} x^{2}\right )} \sqrt {-a b} \log \left (\frac {b x^{2} - 2 \, \sqrt {-a b} x - a}{b x^{2} + a}\right ) - 2 \, {\left (a b^{2} c - a^{2} b d\right )} x}{4 \, {\left (a^{2} b^{3} x^{2} + a^{3} b^{2}\right )}}, \frac {{\left (a b c + a^{2} d + {\left (b^{2} c + a b d\right )} x^{2}\right )} \sqrt {a b} \arctan \left (\frac {\sqrt {a b} x}{a}\right ) + {\left (a b^{2} c - a^{2} b d\right )} x}{2 \, {\left (a^{2} b^{3} x^{2} + a^{3} b^{2}\right )}}\right ] \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 112 vs. \(2 (54) = 108\).
Time = 0.22 (sec) , antiderivative size = 112, normalized size of antiderivative = 1.78 \[ \int \frac {c+d x^2}{\left (a+b x^2\right )^2} \, dx=\frac {x \left (- a d + b c\right )}{2 a^{2} b + 2 a b^{2} x^{2}} - \frac {\sqrt {- \frac {1}{a^{3} b^{3}}} \left (a d + b c\right ) \log {\left (- a^{2} b \sqrt {- \frac {1}{a^{3} b^{3}}} + x \right )}}{4} + \frac {\sqrt {- \frac {1}{a^{3} b^{3}}} \left (a d + b c\right ) \log {\left (a^{2} b \sqrt {- \frac {1}{a^{3} b^{3}}} + x \right )}}{4} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.90 \[ \int \frac {c+d x^2}{\left (a+b x^2\right )^2} \, dx=\frac {{\left (b c - a d\right )} x}{2 \, {\left (a b^{2} x^{2} + a^{2} b\right )}} + \frac {{\left (b c + a d\right )} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a b} \]
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 57, normalized size of antiderivative = 0.90 \[ \int \frac {c+d x^2}{\left (a+b x^2\right )^2} \, dx=\frac {{\left (b c + a d\right )} \arctan \left (\frac {b x}{\sqrt {a b}}\right )}{2 \, \sqrt {a b} a b} + \frac {b c x - a d x}{2 \, {\left (b x^{2} + a\right )} a b} \]
[In]
[Out]
Time = 4.99 (sec) , antiderivative size = 51, normalized size of antiderivative = 0.81 \[ \int \frac {c+d x^2}{\left (a+b x^2\right )^2} \, dx=\frac {\mathrm {atan}\left (\frac {\sqrt {b}\,x}{\sqrt {a}}\right )\,\left (a\,d+b\,c\right )}{2\,a^{3/2}\,b^{3/2}}-\frac {x\,\left (a\,d-b\,c\right )}{2\,a\,b\,\left (b\,x^2+a\right )} \]
[In]
[Out]